﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.ViewModel
{
    public class LoginViewModel
    {
        
        [Display(Name = "用户名")]
        [Required(ErrorMessage = "用户名不能为空")]
        public string uLoginName { get; set; }

        [Display(Name = "密码")]
        [Required(ErrorMessage = "密码不能为空")]
        public string uPwd { get; set; }

        [Display(Name = "保持登陆")]
        public bool IsChecked { get; set; }
    }
}
